<template>
    <div class="layout-aside-container">
        <ul class="menu">
            <li class="menu-item">
                <router-link to="/home/users">用户管理</router-link>
            </li>
            <li class="menu-item">
                <router-link to="/home/rights">权限管理</router-link>
            </li>
            <li class="menu-item">
                <router-link to="/home/goods">商品管理</router-link>
            </li>
            <li class="menu-item">
                <router-link to="/home/orders">订单管理</router-link>
            </li>
            <li class="menu-item">
                <router-link to="/home/settings">系统设置</router-link>
            </li>
        </ul>
    </div>
</template>
<style scoped>
.layout-aside-container {
  background-color: #3a495e;
  color: white;
  min-height: 100%;
  padding-top: 1rem;
}

.menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-item {
  padding: 12px 24px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.menu-item a {
  text-decoration: none;
  color: white;
  display: block;
  font-size: 15px;
}

.menu-item:hover,
.menu-item.active {
  background-color: #293445;
}

.menu-item a.router-link-active {
  font-weight: bold;
  color: #409EFF;
}
</style>